﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    class Program
    {
        static void Main(string[] args)
        {
            Laohu l = new Laohu();//老虎
            l.Leg = 4;
            l.Zholu();
            l.Shuijiao();
            l.Chi();
            l.Jiao();
            l.Yeshi();

            Console.WriteLine("-----------------------------");

            Mao m = new Mao();//猫
            m.Leg = 4;
            m.Zholu();
            m.Shuijiao();
            m.Chi();
            m.Jiao();
            m.Yeshi();

            Console.WriteLine("-----------------------------");

            Laoyin y = new Laoyin();//老鹰
            y.Leg = 2;
            y.Zholu();
            y.Shuijiao();
            y.Chi();
            y.Jiao();
            y.Niaoinfo();
            y.Trait();

            Console.WriteLine("-----------------------------");

            Yanzi z = new Yanzi();
            z.Leg = 2;
            z.Zholu();
            z.Shuijiao();
            z.Chi();
            z.Jiao();
            z.Niaoinfo();
            z.Trait();
            Console.WriteLine("------------------------------");
        }
    }
}
